Modularity and Extendibility the Speciication Is Split in 22 Montages. Each Acknowledgments We Would like to Thank to Tonio, and Christoph Denzler for Their Help with Gem-mex and Their Collaboration in the Montages Project, and To
نویسندگان
چکیده
A complete, exible compiler construction system. Simplicity Only simple imperative updates and drawings of control and data ow graphs are used to specify the language. Only 28 diierent symbols (for variables, macros, e.t.c.) are used in addition to the symbols introduced by the EBNF syntax-rules. The whole textual speciication of static and dynamic semantics is 92 lines long. Montage speciies one language construct. Most information is local, and changes of one Montage do not aaect the other Montages. Self documenting The simplicity, shortness, and modularity of the speciication make it usable as documentation as well. Using again the Montages of CML, Gem-Mex generates HTML and paper versions of the language description. The Montages approach could be learned within one day by an industrial programmer, and allows the CUBIX developer to extend the language if new problems appear. item EEciency From the Montages speciications of CML, Gem-Mex generates an interpreter. This interpreter is eecient enough to be used in the operational version of CUBIX. Calculating the SQL queries for a report with 100 result values, using a complicate driver speciication takes about 1.5 seconds on an Ultra30, for a simple speciication about 0.6 seconds. Portability Gem-Mex generates C-code, that can be compiled on arbitrary ar-chitectures and operating systems. Gem-Mex itself is only based on C and TclTk, which exist on all commercial platforms, like Windows, Windows NT, Unix. The tools can thus easily be integrated in a developer version of CUBIX. It has been shown that abstract state machines Gur95] structed with Montages KP97] are well suited to deene domain speciic languages. The formal speciication of the language CML has been a starting point to successfully introduce formal methods into an industrial setting. In particular, formal methods specialists can read Montage models since the semantics of abstract state machines is a mathematical object. Domain experts need not learn other formal methods in order to validate the developed formalizations. Therefore, formal methods far above the complexity understandable by domain experts can be applied, if a Montage/ASM speciication exists. 13 in time even in a non-monotonic way since modiications can be localized within very neat boundaries. By doing so, diierent experimentation can take place with diierent versions of the syntax and semantics of the speciied language in a very short time. Besides the pure editing functionality, Gem can be used to generate documents suitable for speciication presentation. Experience suggests how lack in documentation …
منابع مشابه
Montages/Gem-Mex: A Meta Visual Programming Generator
Last decade witnessed a disappointing lack in technology transfer from formal semantics to language design. Research in formal semantics has developed increasingly complex concepts and notation, at the expense of calculational clarity and applicability in the development of languages. Montages is a visual domain-speciic formalism for specifying all the aspects of a programming language. It is i...
متن کاملTool Support for Language Design and Prototyping with Montages
In this paper, we describe the tool Gem-Mex, supporting Montages, a visual formalism for the speci cation of (imperative/object oriented) programming languages. Introduction Montages [KP97] form a graphical notation for expressing the syntax and semantics of imperative and object oriented languages. Every syntactic construct has its meaning speci ed by a Montage, which consist of a diagram de n...
متن کاملFormal Aspects of and Development Environments for Montages
The specification of all aspects of a programming language requires adequate formal models and tool support. Montages specifications combine graphical and textual elements to yield language descriptions similar in structure, length, and complexity to those in common language manuals, but with a formal semantics. A broad range of people involved in programming language design and use may find it...
متن کاملProceedings of the Second International Workshop on Action Semantics AS ’ 99 Amsterdam , The Netherlands , March 21 , 1999
In the present paper, a methodology is presented which enables the implementation of the Action Notation formalism based on a formal and modular specification. As a result, an interpreter and debugger is automatically generated which allows the visualization of an Action Notation program execution and the inspection of all semantic identities in terms of the given formal specification. These re...
متن کاملLetter of Editor-in-Chief
Dear colleagues, Welcome to the fourth issue of the Journal of Cardio-Thoracic Medicine. We are grateful that with support and cooperation of our dear colleagues, the first year of JCTM publication passed successfully. We are expecting to promote the indexing of Journal of Cardio-Thoracic Medicine in the following year. In this issue, a valuable review article has been written by Dr.Corlateanu ...
متن کامل